﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QiHe
{
    public partial class PM_TPL_List : Form
    {
        DataSet TPL_List;
        DataSet TPL_Info_List;
        public PM_TPL_List()
        {
            InitializeComponent();
        }

        private void PM_TPL_List_Load(object sender, EventArgs e)
        {
            MedEQ.Service1 sop2 = new MedEQ.Service1();
            TPL_List = sop2.PM_TPL_List();


            skinDataGridView1.DataSource = TPL_List.Tables[0];







        }

        private void skinDataGridView1_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            MedEQ.Service1 sop2 = new MedEQ.Service1();
            TPL_Info_List = sop2.PM_TPL_Info(TPL_List.Tables[0].Rows[skinDataGridView1.CurrentRow.Index][0].ToString());

            skinDataGridView2.DataSource = TPL_Info_List.Tables[0];
        }
    }
}
